home *** CD-ROM | disk | FTP | other *** search
-
-
-
- aaaaffffGGGGeeeettttIIIInnnnssssttttIIIIDDDDssss((((3333ddddmmmm)))) aaaaffffGGGGeeeettttIIIInnnnssssttttIIIIDDDDssss((((3333ddddmmmm))))
-
-
-
- NNNNAAAAMMMMEEEE
- afGetInstIDs - get a list of instrument configurations from an
- AAAAFFFFffffiiiilllleeeehhhhaaaannnnddddlllleeee
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- ####iiiinnnncccclllluuuuddddeeee <<<<ddddmmmmeeeeddddiiiiaaaa////aaaauuuuddddiiiiooooffffiiiilllleeee....hhhh>>>>
-
- iiiinnnntttt aaaaffffGGGGeeeettttIIIInnnnssssttttIIIIDDDDssss((((AAAAFFFFffffiiiilllleeeehhhhaaaannnnddddlllleeee ffffiiiilllleeee,,,, iiiinnnntttt ****iiiinnnnssssttttiiiiddddssss))))
-
- PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRR
- _f_i_l_e expects an AAAAFFFFffffiiiilllleeeehhhhaaaannnnddddlllleeee structure, created when an audio file
- was opened by a call to aaaaffffOOOOppppeeeennnnFFFFiiiilllleeee(3dm).
-
- _i_n_s_t_i_d_s an array of integer locations used to return a list of (unique)
- positive instrument ID's which can be used to reference the
- sampler configurations in a file. For an AIFF/AIFF-C file,
- this array will return the ID AAAAFFFF____DDDDEEEEFFFFAAAAUUUULLLLTTTT____IIIINNNNSSSSTTTT if there is an
- instrument chunk. If you pass a null _i_n_s_t_i_d_s array to
- aaaaffffGGGGeeeettttIIIInnnnssssttttIIIIDDDDssss(((()))), it simply returns the number of sampler
- configurations stored in the audio file.
-
- RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEE
- aaaaffffGGGGeeeettttIIIInnnnssssttttIIIIDDDDssss(((()))) returns a nonnegative integer count of the number of
- instrument configurations in the file, or -1 in case of error.
-
- For AIFF-C and AIFF files, this value is always either 0 or 1. The value
- varies in other file formats, so it is important to use this routine to
- check the inst count prior to handing it a pointer to an array.
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- Typically, aaaaffffGGGGeeeettttIIIInnnnssssttttIIIIDDDDssss(((()))) is called twice. The first time you pass it a
- null _i_n_s_t_i_d_s array, and just check the return value. The return value
- tells you how large an _i_n_s_t_i_d_s array to allocate, which you in turn pass
- back to aaaaffffGGGGeeeettttIIIInnnnssssttttIIIIDDDDssss(((()))) to obtain a list of unique positive instrument ID
- values. You can then use these ID's to reference the various instrument
- configurations in the file.
-
- For example, you pass an instrument ID to aaaaffffGGGGeeeettttIIIInnnnssssttttPPPPaaaarrrraaaammmmLLLLoooonnnngggg(3dm) to
- obtain the values of the individual instrument parameters such as gain,
- base note, and velocity range.
-
- CCCCAAAAVVVVEEEEAAAATTTTSSSS
- This function may return more than one inst, unlike the one fixed INST in
- AIFF/AIFF-C files. Other currently supported file formats have different
- inst configurations than AIFF/AIFF-C.
-
- In the case of INST parameters it is important to be able to query at
- runtime the capabilities of a given file format. An application can use
- aaaaffffQQQQuuuueeeerrrryyyy(3dm) to determine whether a given file format supports INST
- chunks, and if so, the maximum number allowed. Apps should also be
- written to expect and ignore instrument configurations or instrument
- parameters they do not understand.
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- aaaaffffGGGGeeeettttIIIInnnnssssttttIIIIDDDDssss((((3333ddddmmmm)))) aaaaffffGGGGeeeettttIIIInnnnssssttttIIIIDDDDssss((((3333ddddmmmm))))
-
-
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- afOpenFile(3dm), afInitInstIDs(3dm), afGetInstParamLong(3dm)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-